/**
 * Created by bing on 2019/1/3.
 */
package com.wxb.hello.demo.second;

import com.wxb.hello.tomcat.controller.Hello;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.stereotype.Component;

/**
 * describe:
 *
 * @author : wxbing000@gmail.com
 * @version : v1.0
 * @date : 2019-01-03 18:40
 */
@Component
//@ConditionalOnBean(value = Hello.class)
@ConditionalOnMissingBean(value = Hello.class)
public class HelloComponent {

	public HelloComponent() {
		System.out.println("init hello component .......");
	}
}
